<template>
    <div>
        <el-dialog title="操作验证" :visible.sync="deleteVisible">
            <el-form :model="form">
                <el-form-item label="密码验证" label-width="7.5rem">
                    <el-input v-model="form.password" autocomplete="off"></el-input>
                </el-form-item>
            </el-form>
            <div slot="footer" class="dialog-footer">
                <el-button @click="stopbtn">取 消</el-button>
                <el-button type="primary" @click="deletebtn">确 定</el-button>
            </div>
        </el-dialog>
    </div>
</template>

<script>
import { deletemanager } from '../../api/index';
export default {
    name: "deletemanager",
    props: ['id','deleteVisible'],
    data() {
        return {
            form: {
                password: "",
            },
        }
    },
    methods: {
        stopbtn() {
            this.$message("已取消删除")
            this.deleteVisible = false
        },
        deletebtn() {
            var query = {
                id: this.id
            }
            deletemanager().then({

            })
            

        }
    }

}
</script>

<style scoped>

</style>